<html>
<body>
Reports access to non-constant static fields that are
locked on either <code>this</code> or an instance field of <code>this</code>.
<p>
  Locking a static field on instance data does not prevent the field from being
  modified by other instances, and thus may result in unexpected race conditions.
</p>
<p><b>Example:</b></p>
<pre><code>
  static String test;
  public void foo() {
      synchronized (this) {
          System.out.println(test); // warning
      }
  }
</code></pre>
<p>
  There is a quick-fix that allows ignoring static fields of specific types.
  You can manage those ignored types in the inspection options.
</p>
<!-- tooltip end -->
<p>
  Use the inspection options to specify which classes used for static fields should be ignored.
<p>
</body>
</html>